#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QGraphicsDropShadowEffect>
#include <QGraphicsBlurEffect>
#include <QMessageBox>
#include <QDebug>
#include "defaultmessagebox.h"



QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

private:
    QString account;
    QString password;
    void check_isValid_account_password();
public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_exitPB_clicked();
    void on_registerPB_clicked();
    void on_accountLE_textChanged(const QString &arg1);
    void on_passwordLE_textChanged(const QString &arg1);

    void on_loginPB_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
